package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.InformationListMapper;
import com.ruoyi.system.domain.InformationList;
import com.ruoyi.system.service.IInformationListService;

/**
 * 执法对象表Service业务层处理
 * 
 * @author wht
 * @date 2023-09-11
 */
@Service
public class InformationListServiceImpl implements IInformationListService 
{
    @Autowired
    private InformationListMapper informationListMapper;

    /**
     * 查询执法对象表
     * 
     * @param id 执法对象表主键
     * @return 执法对象表
     */
    @Override
    public InformationList selectInformationListById(Long id)
    {
        return informationListMapper.selectInformationListById(id);
    }

    /**
     * 查询执法对象表列表
     * 
     * @param informationList 执法对象表
     * @return 执法对象表
     */
    @Override
    public List<InformationList> selectInformationListList(InformationList informationList)
    {
        return informationListMapper.selectInformationListList(informationList);
    }

    /**
     * 新增执法对象表
     * 
     * @param informationList 执法对象表
     * @return 结果
     */
    @Override
    public int insertInformationList(InformationList informationList)
    {
        return informationListMapper.insertInformationList(informationList);
    }

    /**
     * 修改执法对象表
     * 
     * @param informationList 执法对象表
     * @return 结果
     */
    @Override
    public int updateInformationList(InformationList informationList)
    {
        return informationListMapper.updateInformationList(informationList);
    }

    /**
     * 批量删除执法对象表
     * 
     * @param ids 需要删除的执法对象表主键
     * @return 结果
     */
    @Override
    public int deleteInformationListByIds(Long[] ids)
    {
        return informationListMapper.deleteInformationListByIds(ids);
    }

    /**
     * 删除执法对象表信息
     * 
     * @param id 执法对象表主键
     * @return 结果
     */
    @Override
    public int deleteInformationListById(Long id)
    {
        return informationListMapper.deleteInformationListById(id);
    }
}
